package com.steel.yfmall.cloud.assistant.goods.impl;

import com.steel.yfmall.cloud.assistant.goods.FrameworkContractPayInfoService;
import com.steel.yfmall.cloud.assistant.goods.mapper.FrameworkContractPayInfoMapper;
import com.steel.yfmall.cloud.assistant.po.goods.FrameworkContractPayInfo;
import com.steel.yfmall.cloud.assistant.po.goods.FrameworkContractPayInfoExample;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 龙飞
 * @version 1.0
 * @since 2021/01/05 星期二 14:06
 */

@Service
public class FrameworkContractPayInfoServiceImpl implements FrameworkContractPayInfoService {
    @Override
    public List<FrameworkContractPayInfo> selectIgnoreCommerceContract(String commerceContract) {
        FrameworkContractPayInfoExample example = new FrameworkContractPayInfoExample();
        example.createCriteria().andCommerceContractNoEqualTo(commerceContract);
        return frameworkContractPayInfoMapper.selectByExample(example);
    }

    @Resource
    private FrameworkContractPayInfoMapper frameworkContractPayInfoMapper;
}
